home *** CD-ROM | disk | FTP | other *** search
/ PC Player 2004 May / pc player 2004-05.iso / Demos / FarCry / Data1.cab / _9EF9795543544325BF36F6FDEFD8D6B9 < prev    next >
Encoding:
Text File  |  2004-01-06  |  1.1 KB  |  34 lines

  1. //CGVER1.8
  2. vs_1_1
  3. // DX9 Vertex shader generated by NVIDIA Cg compiler
  4. // cgc version 1.1.0003, build date Jul  7 2003  11:55:19
  5. // command line args: -q -profile vs_1_1 -entry main -profileopts dcls
  6. // nv30vp backend compiling 'main' program
  7. //vendor NVIDIA Corporation
  8. //version 1.0.02
  9. //profile vs_1_1
  10. //program main
  11. //semantic main.ModelViewProj : C0
  12. //semantic main.ClipPlane : C14
  13. //semantic main.g_VSCONST_0_025_05_1 : C28
  14. //var float4 IN.Position : $vin.POSITION : POSITION : 0 : 1
  15. //var float4 IN.TexCoord0 : $vin.TEXCOORD0 : TEXCOORD0 : 0 : 1
  16. //var float4x4 ModelViewProj : C0 : c[0], 4 : 1 : 1
  17. //var float4 ClipPlane : C14 : c[14] : 2 : 1
  18. //var float4 g_VSCONST_0_025_05_1 : C28 : c[28] : 3 : 1
  19. //var float4 Tex3 : $vout.TEXCOORD3 : TEXCOORD3 : -1 : 1
  20. //var float4 HPosition : $vout.POSITION : POSITION : -1 : 1
  21. //var float4 Tex0 : $vout.TEXCOORD0 : TEXCOORD0 : -1 : 1
  22. dcl_texcoord0 v7
  23. dcl_position v0
  24.     mov oT0.xy, v7.xyxx
  25.     dp4 oPos.x, c0, v0
  26.     dp4 oPos.y, c1, v0
  27.     dp4 oPos.z, c2, v0
  28.     dp4 oPos.w, c3, v0
  29.     dp4 oT3.z, v0, c14
  30.     mov oT3.xyw, v0.w
  31. // 7 instructions
  32. // 0 temp registers
  33. // End of program
  34.